package com.weixin.pojo.pay.response;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 类描述：微信查询订单,服务器返回数据<br>
 * 接口地址:https://pay.weixin.qq.com/wiki/doc/api/native.php?chapter=9_2<br>
 * 创建人：邓强 <br>
 * 创建时间：2017年11月3日 下午6:52:26 <br>
 * 修改人： <br>
 * 修改时间：2017年11月3日 下午6:52:26 <br>
 * 修改备注： <br>
 * 
 * @version V1.0
 */
@XStreamAlias("xml")
public class QueryResponse extends BaseResponse {

	/**
	 * 用户标识
	 */
	private String openid;
	/**
	 * 是否关注公众账号
	 */
	private String is_subscribe;
	/**
	 * 交易类型
	 */
	private String trade_type;
	/**
	 * 交易状态:<br>
	 * SUCCESS—支付成功 <br>
	 * REFUND—转入退款<br>
	 * NOTPAY—未支付<br>
	 * CLOSED—已关闭<br>
	 * REVOKED—已撤销（刷卡支付）<br>
	 * USERPAYING--用户支付中<br>
	 * PAYERROR--支付失败(其他原因，如银行返回失败)<br>
	 */
	private String trade_state;
	/**
	 * 付款银行
	 */
	private String bank_type;
	/**
	 * 标价金额
	 */
	private Integer total_fee;
	/**
	 * 微应结订单金额<br>
	 * 当订单使用了免充值型优惠券后返回该参数，应结订单金额=订单金额-免充值优惠券金额
	 */
	private Integer settlement_total_fee;
	/**
	 * 标价币种
	 */
	private String fee_type;
	/**
	 * 现金支付金额
	 */
	private Integer cash_fee;
	/**
	 * 现金支付币种
	 */
	private String cash_fee_type;
	/**
	 * 微信订单号
	 */
	private String transaction_id;
	/**
	 * 商户订单号
	 */
	private String out_trade_no;
	/**
	 * 微信订单号
	 */
	private String attach;
	/**
	 * 支付完成时间
	 */
	private String time_end;
	/**
	 * 交易状态描述
	 */
	private String trade_state_desc;

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getIs_subscribe() {
		return is_subscribe;
	}

	public void setIs_subscribe(String is_subscribe) {
		this.is_subscribe = is_subscribe;
	}

	public String getTrade_type() {
		return trade_type;
	}

	public void setTrade_type(String trade_type) {
		this.trade_type = trade_type;
	}

	public String getTrade_state() {
		return trade_state;
	}

	public void setTrade_state(String trade_state) {
		this.trade_state = trade_state;
	}

	public String getBank_type() {
		return bank_type;
	}

	public void setBank_type(String bank_type) {
		this.bank_type = bank_type;
	}

	public Integer getTotal_fee() {
		return total_fee;
	}

	public void setTotal_fee(Integer total_fee) {
		this.total_fee = total_fee;
	}

	public Integer getSettlement_total_fee() {
		return settlement_total_fee;
	}

	public void setSettlement_total_fee(Integer settlement_total_fee) {
		this.settlement_total_fee = settlement_total_fee;
	}

	public String getFee_type() {
		return fee_type;
	}

	public void setFee_type(String fee_type) {
		this.fee_type = fee_type;
	}

	public Integer getCash_fee() {
		return cash_fee;
	}

	public void setCash_fee(Integer cash_fee) {
		this.cash_fee = cash_fee;
	}

	public String getCash_fee_type() {
		return cash_fee_type;
	}

	public void setCash_fee_type(String cash_fee_type) {
		this.cash_fee_type = cash_fee_type;
	}

	public String getTransaction_id() {
		return transaction_id;
	}

	public void setTransaction_id(String transaction_id) {
		this.transaction_id = transaction_id;
	}

	public String getOut_trade_no() {
		return out_trade_no;
	}

	public void setOut_trade_no(String out_trade_no) {
		this.out_trade_no = out_trade_no;
	}

	public String getAttach() {
		return attach;
	}

	public void setAttach(String attach) {
		this.attach = attach;
	}

	public String getTime_end() {
		return time_end;
	}

	public void setTime_end(String time_end) {
		this.time_end = time_end;
	}

	public String getTrade_state_desc() {
		return trade_state_desc;
	}

	public void setTrade_state_desc(String trade_state_desc) {
		this.trade_state_desc = trade_state_desc;
	}

}
